package sample;

/**
 * Created by natalia on 23.01.15.
 */
public class Coordinate {
    enum PointState {SHIP_ALIVE, SHIP_DEAD, FREE}

    PointState pointState = PointState.FREE;
    private int x;
    private int y;

    public void setCoordinateState(PointState pointState) {
        this.pointState = pointState;
    }

    public PointState getPointState() {
        return pointState;
    }

    public void setPointState(PointState pointState) {
        this.pointState = pointState;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}
